package br.com.androstok;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.app.Activity;
import android.content.Intent;

public class Relatorio extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.relatorio);
	}
	
	public void voltar(View botao) {
		limpar();
		startActivity(new Intent(Relatorio.this, Pesquisar.class));
	}

	public void limpar() {

		EditText etMarca = (EditText) findViewById(R.id.etMarca);
		EditText etModelo = (EditText) findViewById(R.id.etModelo);
		etMarca.setText("");
		etModelo.setText("");
		etMarca.requestFocus();

	}


}
